<template>
  <div class="home">
    <v-curd label="抬头名称">
      <v-input v-model="name" placeholder="必填，公司名称" ></v-input>
    </v-curd>
    <v-curd label="需要发票">
      <v-switch name="invoice" v-model="invoice"></v-switch>
    </v-curd>
  </div>
</template>

<script>
import VCurd from "@/components/VCurd.vue";
import VInput from "@/components/VInput.vue";
import VSwitch from "@/components/VSwitch.vue";
export default {
  name: "Home",
  components: {
    VCurd,
    VInput,
    VSwitch,
  },
  data() {
    return {
      name: '张三',
      invoice: 0
    }
  },
};
</script>
